package com.yunxin.core.application.dto.team;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.sql.Date;

@Data
public class TeamEditDTO {


    /**
     * 团队id
     */
    @NotNull(message = "团队id不能为空")
    private Integer id;

    /**
     * 团队名称
     */
    @NotBlank(message = "团队名称不能为空")
    private String teamName;

    @Schema(description = "企业微信id")
    private Long wechatInfoId;

    /**
     * 修改人
     */
    @Schema(hidden = true)
    private String editor;

    /**
     * 修改时间
     */
    @Schema(hidden = true)
    private Date updateTime;


    /**
     * 商户id
     */
    @Schema(hidden = true)
    private Long merchantId;

}
